-- GENERATED SPELL FOR [Thorvald] --


function spell0_27926(pUnit, Event) --@Concussion Blow,n/a--
pUnit:FullCastSpellOnTarget(52719,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_27926', 3339, 1)
end

function spell1_27926(pUnit, Event) --@Sunder Armor,n/a--
pUnit:FullCastSpellOnTarget(11971,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_27926', 30314, 1)
end

function Sorts_27926(pUnit, Event)
local choix_sorts_27926 = math.random(0, 1)
if choix_sorts_27926 == 0 then
pUnit:RegisterEvent('spell0_27926', 1, 1)
end
if choix_sorts_27926 == 1 then
pUnit:RegisterEvent('spell1_27926', 1, 1)
end
end

function mob27926_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_27926', math.random(1500, 3000), 1)
end

function mob27926_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27926_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27926_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(27926, 1, 'mob27926_Action')
RegisterUnitEvent(27926, 2, 'mob27926_Leave')
RegisterUnitEvent(27926, 3, 'mob27926_Kill')
RegisterUnitEvent(27926, 4, 'mob27926_Die')
